#include "WPILib.h"
#include "Robot1045.h"

void SashaBot::OperatorControl(void){
	m_robotDrive->SetSafetyEnabled(true);
	while (IsOperatorControl()){

		UpdateSpeed();
		GyroControl();
		AccelControl();
		
		m_robotDrive->TankDrive(m_rightValue, m_leftValue);

		

		
		
#if 0		
		if(m_rightStick->GetRawButton(1)){
			RobotDisabled();
			
		}
#endif
		
		Wait(0.005);				// wait for a motor update time
	}
}
